<template>
    <el-dialog :visible.sync="dialog" :title="isAdd ? '新增学生信息' : '编辑学生信息'" append-to-body width="700px">
       

        <div slot="footer" class="dialog-footer">
            <el-button type="text" @click="cancel">取消</el-button>
            <el-button :loading="loading" type="primary" @click="doSubmit" :disabled="this.disabled">确认</el-button>
        </div>
    </el-dialog>
</template>

<script>
import { StuSave, getRoles } from '@/api/request'
import { valitoStuId } from '@/api/data'
import { validateUserId, validatPass, validatePhone, validateEmpty, validateIdNo } from '@/utils/validate'
export default {
    props: {
        isAdd: {
          type: Boolean,
          required: true
        },
        
    },
    data() {
       
        return {
            
        }
    },
    methods: {
        cancel(){
            this.dialog  = false
        },
        doSubmit(){
            
        },
    }
}
</script>



<style scoped lang="scss">

</style>